/**
 * 查询对象类型
 */
export interface ScheduleQuery extends PageQuery {
  title?: string;
  type?: number;
  is_hid?: number;
}

/**
 * 分页对象
 */
export interface SchedulePage {
  id?: number;
  title?: string;
  color?: string;
  type?: number;
  remind_type?: number;
  start_time?: Date;
  end_time?: Date;
  remark?: string;
  is_public?: number;
  created_at?: Date;
  avatar?: string;
  category_type?: number;
  is_handle?: number;
  html?: string;
}

/**
 * 表单类型
 */
export interface ScheduleForm {
  title?: string;
  color?: string;
  type?: number;
  remind_type?: number;
  time?: [];
  start_time?: Date;
  end_time?: Date;
  remark?: string;
  is_public?: number;
  created_at?: Date;
  is_hid?: number;
  category_type?: number;
}

export interface ScheduleOptions {
  value?: number;
  label?: string;
}
